package com.yeyks.consumer.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CashOutOrderExtractParam {

    @ApiModelProperty(hidden = true)
    private Integer userId;
    @ApiModelProperty(hidden = true)
    private String ip;
    @ApiModelProperty("提现金额")
    @NotNull
    @Min(value = 1,message = "请输入正确的金额")
    private Integer amount;
    @ApiModelProperty("提现类型,1:银行卡,2微信")
    @NotNull
    private Integer type = 1;
//    @ApiModelProperty("提现类型,gzh,xcx,wxpay")
//    private String wxType;
    @ApiModelProperty(value = "微信openid",hidden = true)
    private String openId;
    @ApiModelProperty("提现佣金类型,1,0元,2创客,3双旦")
    private Integer amountType;

}
